<?php if($settings['icon']):?>
<div class="menu-icon" style="background-image:url(<?php print $settings['icon']; ?>)">
<?php endif;?>
<?php 
$link['title'] = '<span class="menu-title">' .$link['title'] . '</span>';

if($settings['show_title']){
	$link['title'] = $link['title']. '<span class="menu-desc">'.$link['options']['attributes']['title'].'</span>';
}
?>
<?php print l($link['title'], $link['href'], $link['localized_options']);?>

<?php if($settings['icon']):?>
</div>
<?php endif;?>